package com.duan.laugh.event.pojo.vo;

import com.duan.laugh.event.pojo.entity.AfterEvent;
import com.duan.laugh.event.pojo.entity.EventHandlerRule;
import com.duan.laugh.event.pojo.entity.EventNotice;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 事件处理规则 VO
 * </p>
 *
 * @author liutf
 * @since 2019/11/13
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "事件处理规则VO", description = "事件处理规则VO")
public class EventHandlerRuleVO extends EventHandlerRule implements Serializable {
    private static final long serialVersionUID = 8293815490560433091L;

    /**
     * 后续事件 list
     */
    @Valid
    List<AfterEvent> afterEvents;

    /**
     * 事件通知 list
     */
    @Valid
    List<EventNotice> eventNotices;

}
